.PHONY all:
all:myCalServer myCalCilent
myCalServer:myCalServer.cc
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp
myCalCilent:myCalCilent.cc
	g++ -o $@ $^ -std=c++11 -ljsoncpp

.PHONY:clean
clean:
	rm -f myCalServer myCalCilent

# .PHONY:all
# all:calserver calclient

# calclient:CalculatorClient.cc
# 	g++ -o $@ $^ -std=c++11

# calserver:CalculatorServer.cc
# 	g++ -o $@ $^ -std=c++11 -lpthread

# .PHONY:clean
# clean:
# 	rm -f calclient calserver